export default function (BASE_URL,KPI_URL, SYSTEM_MOCK,UPLOAD_SERVER) {
    var DATASOURCE_URL = BASE_URL + '/datasource';
    var PROJECT_URL = BASE_URL + '/project';
    var GRAPH_URL = BASE_URL + '/designer/graph';
    return {
        projectTree: KPI_URL + '/kpi/catalog/findCatType',
        getKpiByType: KPI_URL + '/kpi/catalog/getKpiByType',
        saveProject: BASE_URL + '/project/save',
        deleteProject: BASE_URL + '/project/delete',
        getGraph:GRAPH_URL + '/graph',

        saveGraph:                  GRAPH_URL + '/save',
        deleteGraph:                GRAPH_URL + '/delete',
        queryDatasource:            DATASOURCE_URL,
        queryProjectList:           PROJECT_URL + '/list',
        queryproList:               GRAPH_URL + '/queryProject',
        queryDatasourceColumns:     DATASOURCE_URL + '/columns',
        queryListByProId:           GRAPH_URL + '/queryListByProId',
        queryData:                  BASE_URL+'/data',
        saveGroupForGraph:          GRAPH_URL + '/saveGroup',
        saveAccessForGraph:         GRAPH_URL + '/saveAccess',
        deleteGraphAll:             GRAPH_URL + '/deleteGraphAllForProId',
        queryListByName:            PROJECT_URL + '/queryListByName',
        queryByGraphId:             GRAPH_URL + '/queryByGraphId',
        queryListByPIdandGName:     GRAPH_URL + '/queryListByPIdandGName',
        queryCatalog:               KPI_URL + '/kpi/catalog',
        findDimeByKpiCode:          KPI_URL + '/kpi/cpsDimeArg/findDimeByKpiCode',
        queryViewData:          SYSTEM_MOCK + '/dataview/data',
        findByKpiTypeAndCatalogId:  KPI_URL + '/kpi/cpsKpi/findByKpiTypeAndCatalogId',
        getKpiValuesByDimeAndKpiCode: KPI_URL + '/kpi/cpsKpiJobDtl/getKpiValuesByDimeAndKpiCode',

        queryProjectTree:     KPI_URL + '/kpi/catalog/getAllCatalog',

        fileUploadImg: GRAPH_URL + '/file/upload'

    }
  }
